package zuoye02;

public class Circle implements ShapePara {
    @Override
    public void Area() {
double Area= PI*radius*radius;
        System.out.println("面积是"+Area);
    }

    @Override
    public void Circumference() {
double circumference =PI*2*radius;
        System.out.println("周长是"+circumference);
    }
    static final double PI=3.14;
    public double radius;

    public Circle() {
    }

    public Circle(double radius) {
        this.radius = radius;
    }

    public static double getPI() {
        return PI;
    }

    public double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }
}
